<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>dup2</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--utilunix.c.html#L789'>dup2</a>              789 lib/utilunix.c         if (dup2 (old_error, STDERR_FILENO) == -1)</span>
<span class='curline'><a href='../S/src--background.c.html#L567'>dup2</a>              567 src/background.c             while (dup2 (nullfd, STDIN_FILENO) == -1 &amp;&amp; errno == EINTR)</span>
<span class='curline'><a href='../S/src--background.c.html#L569'>dup2</a>              569 src/background.c             while (dup2 (nullfd, STDOUT_FILENO) == -1 &amp;&amp; errno == EINTR)</span>
<span class='curline'><a href='../S/src--background.c.html#L571'>dup2</a>              571 src/background.c             while (dup2 (nullfd, STDERR_FILENO) == -1 &amp;&amp; errno == EINTR)</span>
<span class='curline'><a href='../S/src--cons.handler.c.html#L196'>dup2</a>              196 src/cons.handler.c                 if (dup2 (pipefd1[0], STDIN_FILENO) == -1)</span>
<span class='curline'><a href='../S/src--cons.handler.c.html#L200'>dup2</a>              200 src/cons.handler.c                 if (dup2 (pipefd2[1], STDOUT_FILENO) == -1)</span>
<span class='curline'><a href='../S/src--cons.handler.c.html#L208'>dup2</a>              208 src/cons.handler.c                 ok = dup2 (status, STDERR_FILENO) != -1;</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L390'>dup2</a>              390 src/subshell/common.c     dup2 (subshell_pty_slave, STDIN_FILENO);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L391'>dup2</a>              391 src/subshell/common.c     dup2 (subshell_pty_slave, STDOUT_FILENO);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L392'>dup2</a>              392 src/subshell/common.c     dup2 (subshell_pty_slave, STDERR_FILENO);</span>
<span class='curline'><a href='../S/src--vfs--fish--fish.c.html#L432'>dup2</a>              432 src/vfs/fish/fish.c         res = dup2 (fileset1[0], STDIN_FILENO);</span>
<span class='curline'><a href='../S/src--vfs--fish--fish.c.html#L435'>dup2</a>              435 src/vfs/fish/fish.c         res = dup2 (fileset2[1], STDOUT_FILENO);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--clientgen.c.html#L2790'>dup2</a>             2790 src/vfs/smbfs/helpers/libsmb/clientgen.c             if (dup2 (cli-&gt;fd, oldfd) == oldfd)</span>
</pre>
</body>
</html>
